<?php
namespace app\index\controller;

use think\Request;
use app\common\Model\Article as ArticleModel;
use app\index\controller\Base;

class Test extends Base
{

    public function index()
    {
        $ojb = new ArticleModel();
        $article = $ojb::get(1);
        
        $b = $ojb->paginate(10);

        print_r($b->render());
    }
}
